#region Using directives

using System;
using System.Collections.Generic;
using System.Text;

using Weazel.Toad.Application.Items;

#endregion

namespace Weazel.Toad.Application.Actions
{
  public class OpenProjectAction : ActionBase
  {
    public OpenProjectAction()
    {
    }

    public override void Execute(object sender, EventArgs e)
    {
      bool success = Weazel.Toad.Application.Items.Project.OpenProject();

      if (success)
      {
        Actions[typeof(SaveProjectAction)].Enabled = true;
      }
    }
  }
}
